home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 68.7z / BS1 part 68 / Art Expression v2.04 (1996)(Soft-Logik Publishing)(Disk 1 of 3)[HD].7z / Art Expression v2.04 (1996)(Soft-Logik Publishing)(Disk 1 of 3)[HD].adf / Hard-Install < prev    next >
Text File  |  1993-04-07  |  13KB  |  356 lines

  1. ;ArtExpression Hard Drive Installation Script
  2.  
  3. ;set up an error cleanup routine
  4. (onerror
  5.         (makeassign "AEinstpgm" (safe))
  6.         (makeassign "BMEinstpgm" (safe))
  7. )
  8.  
  9. ;just started
  10. (complete 0)
  11.  
  12. ;cancel the assigns in case of installation restart
  13. (makeassign "AEinstpgm" (safe))
  14. (makeassign "BMEinstpgm" (safe))
  15.  
  16. ;get the dest dir for Art Expression
  17. (set ae_dest
  18.         (tackon
  19.                 (askdir
  20.                         (prompt "In which disk or drawer should ArtExpression be installed?")
  21.                         (help @askdir-help)
  22.                         (default @default-dest)
  23.                 )
  24.                 "ArtExpression"
  25.         )
  26. )
  27.  
  28. ;lock on to volume 'AEprogram'
  29. (askdisk
  30.         (prompt "Please insert the disk labeled \"AEprogram\" into any drive")
  31.         (help   "\n\n\n\nThe ArtExpression program and related files will be copied from the "
  32.                         "\"AEprogram\" disk onto your system.")
  33.         (dest  "AEprogram")
  34.         (newname "AEinstpgm")
  35. )
  36.  
  37. (complete 10)
  38.  
  39. ;We now have a valid destination, so tell Installer where AE will end up
  40. ;so the exit page will be correct.
  41. (set @default-dest ae_dest)
  42.  
  43. ;copy program files from source to dest
  44. (if
  45.         (askbool
  46.                 (prompt "\n\n\n\n\nDo you want to copy the ArtExpression program?")
  47.                 (help "\n\n\n\nClicking 'Copy' will copy the ArtExpression program file to your disk. Clicking 'Do Not Copy' will skip to the next section of the installer.")
  48.                 (choices "Copy" "Do Not Copy")
  49.                 (default 1)
  50.         )
  51.         (copyfiles
  52.                 (source "AEinstpgm:ArtExpression")
  53.                 (dest ae_dest)
  54.                 (infos)
  55.         )
  56. )
  57.  
  58. ;copy support files from source to dest
  59. (if
  60.         (askbool
  61.                 (prompt "\n\n\n\n\nDo you wish to copy the ArtExpression support files?")
  62.                 (help "\n\n\n\nClicking 'Copy' will copy the other files necessary to use ArtExpression to your disk.")
  63.                 (choices "Copy" "Do Not Copy")
  64.                 (default 1)
  65.         )
  66.         (copyfiles
  67.                 (source "AEinstpgm:")
  68.                 (dest ae_dest)
  69.                 (choices "AdobeIllustratorDict" "ArtExpression.prefs" "ArtExpressionDict2.04" "ArtExpression.colors")
  70.         )
  71. )
  72.  
  73. ;copy the printer description file from source to dest
  74. (copyfiles
  75.         (source
  76.                 (tackon "AEinstpgm:Printers"
  77.                         (select
  78.                                 (askchoice
  79.                                         (prompt "Choose one of the files below that closely matches the PostScript printer you use." )
  80.                     (help "\nIf you are not using a PostScript printer you may skip this section. \n\n "
  81.                         "\nPostScript users: Choose the file that most closely matches the fonts resident in your PostScript printer. "
  82.                         " This will allow ArtExpression to access the resident fonts rather than downloading them.")
  83.                                         (choices
  84.                                                 "Standard35.prfonts"
  85.                                                 "Panasonic.prfonts"
  86.                                                 "TImicrolaserPS17.prfonts"
  87.                                                 "NECcolormate40.prfonts"
  88.                                                 "Adobe.prfonts"
  89.                                                 "VarityperOld.prfonts"
  90.                                                 "QMSps.prfonts"
  91.                                                 "QMScolorscript.prfonts"
  92.                                                 "DEC.prfonts"
  93.                                                 "NeXT.prfonts"
  94.                                         )
  95.                                 )
  96.                                 "Standard35.prfonts"
  97.                                 "Panasonic.prfonts"
  98.                                 "TImicrolaserPS17.prfonts"
  99.                                 "NECcolormate40.prfonts"
  100.                                 "Adobe.prfonts"
  101.                                 "VarityperOld.prfonts"
  102.                                 "QMSps.prfonts"
  103.                                 "QMScolorscript.prfonts"
  104.                                 "DEC.prfonts"
  105.                                 "NeXT.prfonts"
  106.                         )
  107.                 )
  108.         )
  109.         (dest ae_dest)
  110.         (newname "ArtExpression.prfonts")
  111. )
  112.  
  113. (complete 35)
  114.  
  115. ;copy the Help files to dest/Help
  116. (if
  117.         (askbool
  118.                 (prompt "\n\n\n\n\nDo you wish to copy the ArtExpression Help Files?")
  119.                 (help "\n\n\n\nClicking 'Copy' will copy ArtExpression's Online Help files to your disk."
  120.             " ")
  121.                 (choices "Copy" "Do Not Copy")
  122.                 (default 1)
  123.         )
  124.         (
  125.                 (makedir (tackon ae_dest "Help")
  126.                         (infos)
  127.                 )
  128.                 (copyfiles
  129.                         (source "AEinstpgm:Help")
  130.                         (dest (tackon ae_dest "Help"))
  131.                         (all)
  132.                 )
  133.         )
  134. )
  135.  
  136. ;copy the Tutorial files to dest/Help
  137. (if
  138.         (askbool
  139.                 (prompt "\n\n\n\n\nDo you wish to copy the ArtExpression Tutorial Art Files?")
  140.                 (help "\n\n\n\nClicking 'Copy' will copy the ArtExpression Tutorial files to your disk.")
  141.                 (choices "Copy" "Do Not Copy")
  142.                 (default 1)
  143.         )
  144.         (
  145.                 (makedir (tackon ae_dest "AEart")
  146.                         (infos)
  147.                 )
  148.                 (copyfiles
  149.                         (source "AEinstpgm:AEart")
  150.                         (dest (tackon ae_dest "AEart"))
  151.                         (all)
  152.                 )
  153.         )
  154. )
  155.  
  156. (complete 45)
  157.  
  158. ;the arp library is necessary for WB 1.3
  159. (if
  160.         (askbool (choices "Copy Arp.Library" "Do not Copy Arp.Library")
  161.                  (prompt "\n\nDo you need the Arp.Library? \"Select Help for information on Arp.\"")
  162.                  (help
  163.                         "\n\nAmigaDOS 1.2 and 1.3 do not have a standard system file "
  164.                         "requester. The Arp.Library provides a file requester to "
  165.                         "BME and Art Expression. If you do not have the Arp.Library "
  166.                         "file already installed, select Copy. If you are unsure "
  167.                         "if you have it, select Copy. ArtExpression and BME will not "
  168.                         "work with AmigaDOS 1.3 without the Arp.Library file!"
  169.                         "\n\nAmigaDOS 2.0+ users should select Do not Copy.")
  170.                  (default 1)
  171.         )
  172.         (copyfiles
  173.                 (source "AEInstPgm:libs/arp.library")
  174.                 (dest "LIBS:")
  175.                 (newname "arp.library")
  176.         )
  177. )
  178. ;the IFF library is necessary for AE to save IFF ILBM files
  179. (if
  180.         (askbool (choices "Copy IFF.Library" "Do not Copy IFF.Library")
  181.                  (prompt "\n\nDo you need the IFF.Library? \"Select Help for information on IFF.\"")
  182.                  (help
  183.                         "\n\nArt Expression needs this file to save IFF ILBM bit maps of your drawings. "
  184.                         " "
  185.                         "\n\n\n If you do not have the IFF.Library "
  186.                         "file already installed, select Copy.  If you are unsure "
  187.                         "if you have it, select Copy. \n\n ArtExpression will not "
  188.                         "be able to save your work in IFF ILBM bit mapped format without this library"
  189.                         " .")
  190.                  (default 1)
  191.         )
  192.         (copyfiles
  193.                 (source "AEInstPgm:libs/iff.library")
  194.                 (dest "LIBS:")
  195.                 (newname "iff.library")
  196.         )
  197. )
  198.  
  199. (complete 50)
  200.  
  201. ;start of Fonts install
  202. ;now lock on to volume 'AEfonts1'
  203. (if
  204.         (askbool
  205.                 (prompt "\n\n\nDo you want to install fonts?")
  206.                 (default 1)
  207.                 (help
  208.                         "\n\n\n\nThis section will copy "
  209.                         "all of the fonts that are shipped with ArtExpression "
  210.              "from AEfonts1 and AEfonts2 disks. "
  211.                 )
  212.         )
  213.         (
  214.                 (askdisk
  215.                         (prompt "\nPlease insert the disk labeled \"AEfonts1\" into any drive.")
  216.                         (help   "\n\n\nThe ArtExpression font files will be copied from the "
  217.                                         "\"AEfonts1\" disk onto your system.")
  218.                         (dest  "AEfonts1")
  219.                         (newname "AEinstpgm")
  220.                 )
  221.                 (makedir (tackon ae_dest "AEfonts")
  222.                         (infos)
  223.                 )
  224.                 (copyfiles
  225.                         (source "AEinstpgm:AEfonts1")
  226.                         (dest (tackon ae_dest "AEfonts"))
  227.                         (all)
  228.                 )
  229.                 (askdisk
  230.                         (prompt "\n\n\nPlease insert the disk labeled \"AEfonts2\" into any drive.")
  231.                         (help   "\n\n\n\nThe ArtExpression font files will be copied from the "
  232.                                         "\"AEfonts2\" disk onto your system.")
  233.                         (dest  "AEfonts2")
  234.                         (newname "AEinstpgm")
  235.                 )
  236.                 (copyfiles
  237.                         (source "AEinstpgm:AEfonts2")
  238.                         (dest (tackon ae_dest "AEfonts"))
  239.                         (all)
  240.                 )
  241.  
  242.         )
  243. )
  244.  
  245. ;start of Convert install
  246. (if
  247.         (askbool
  248.                 (prompt "\n\n\n\n\nDo you want to install the ProDraw Clip to IFF-DR2D Converter?")
  249.                 (default 1)
  250.                 (help
  251.                         "\n\nClicking 'Copy' will install "
  252.                         "the ProDraw clip to IFF-DR2D structured drawing converter to your disk. "
  253.             "\n\nThe Convert program converts Professional Draw Clip files to the Commodore standard IFF DR2D structured drawing format. "
  254.             "ArtExpression and PageStream both support this format. "
  255.                 )
  256.         )
  257.         (
  258.                 (askdisk
  259.                         (prompt "\n\nPlease insert the disk labeled \"AEfonts2\" into any drive.")
  260.                         (help   "\n\n\n\nThe Converter will be copied from the "
  261.                                         "\"AEfonts2\" disk onto your system.")
  262.                         (dest  "AEfonts2")
  263.                         (newname "AEinstpgm")
  264.                 )
  265.                 (copyfiles
  266.                         (source "AEinstpgm:Convert")
  267.                         (dest ae_dest)
  268.                         (infos)
  269.                         (newname "Convert")
  270.                 )
  271.         )
  272. )
  273.  
  274. (complete 85)
  275.  
  276. ;start of BME Install
  277. (if
  278.         (askbool
  279.                 (prompt "\n\n\n\n\nDo you want to install BME with trace functions?")
  280.                 (default 1)
  281.                 (help
  282.                         "\n\n\n\nClicking 'Copy' will install BME. \n"
  283.             " \nBME is a Hotlinks compatible bitmap editor that has an AutoTrace "
  284.             "feature used in one of the Art Expression tutorials. "
  285.                 )
  286.         )
  287.         (
  288.                 (set BME_dest
  289.                         (tackon
  290.                                 (askdir
  291.                                         (prompt "\nIn which disk or drawer should BME be installed?\n")
  292.                                         (help @askdir-help)
  293.                                         (default @default-dest)
  294.                                 )
  295.                                 "BME"
  296.                         )
  297.                 )
  298.  
  299.                 ; now lock on to volume 'BME'
  300.                 (askdisk
  301.                         (prompt "\n\n\n\nPlease insert the disk labeled \"BME\".\n")
  302.                         (help   "\n\n\n\nThe BME program and related files will be copied from the "
  303.                                 "\"BME\" disk into your system."
  304.                         )
  305.                         (dest  "BME")
  306.                         (newname "BMEInstPgm")
  307.                 )
  308.  
  309.                 (complete 90)
  310.  
  311.                 (set @default-dest BME_dest)
  312.  
  313.                 ;copy all program files from source to dest
  314.                 (copyfiles
  315.                         (prompt "\n\nThis will create a new drawer called \"BME\" and "
  316.                                 "will copy the following files and drawers.\n "
  317.                         )
  318.                         (source "BMEInstPgm:BME")
  319.                         (dest BME_dest)
  320.                         (all)
  321.                         (infos)
  322.                         (confirm)
  323.                         (help   "\n\nBME - is the program file.\n"
  324.                                 "Graphics - is a drawer containing the tutorial files.\n\n\n\n"
  325.                                 @copyfiles-help
  326.                         )
  327.                 )
  328.  
  329.                 ;un-snapshot the BME drawer icon
  330.                 (tooltype
  331.                         (dest BME_dest)
  332.                         (noposition)
  333.                 )
  334.  
  335.         )
  336. )
  337.  
  338. (complete 98)
  339.  
  340. ;un-snapshot the AE drawer icon
  341. (tooltype
  342.         (dest ae_dest)
  343.         (noposition)
  344. )
  345.  
  346. (set @default-dest ae_dest)
  347.  
  348. ;done with the install
  349. (complete 100)
  350.  
  351. ; cleanup
  352. (makeassign "AEinstpgm" (safe))
  353. (makeassign "BMEinstpgm" (safe))
  354.  
  355. (exit)
  356.